/*
 *  AFillerClip.cpp
 *  libavid
 *
 *  Created by Peter on 23.02.12.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#include "AFillerClip.h"
#include "AStream.h"

A_IMPLEMENT_CLASS( 'FILL', AFillerClip, AClip );

void AFillerClip::readFromStream( AStream& str, const AObjDoc& objd )
{
	AClip::readFromStream( str, objd );
	
	UInt8 tagMark, version, endTagMark;
	
	str.readPod( tagMark );
	str.readPod( version );
	str.readPod( endTagMark );
	
	TR_ASSERT( tagMark == 0x02 );
	TR_ASSERT( version == 0x01 );
	TR_ASSERT( endTagMark == 0x03 );
}

void AFillerClip::dump( std::ostream& str ) const
{
	str << "AFillerClip {" << std::endl;
	str << "\t";
	AClip::dump( str );
	str << "}" << std::endl;
}